<!DOCTYPE html>
<html class="no-js">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>
      Download H2O SUBST_PROJECT_VERSION
    </title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
    <style type="text/css">
      /* Reset */
      html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0;    padding: 0;    border: 0;    font-size: 100%;    font: inherit;    vertical-align: baseline; } /* HTML5 display-role reset for older browsers */
      article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
      body { line-height: 1; }
      ol, ul { list-style: none; }
      blockquote, q { quotes: none; }
      blockquote:before, blockquote:after, q:before, q:after { content: '';    content: none; }
      table { border-collapse: collapse;    border-spacing: 0; }


      /* Local styles */
      html, body {
        background: #ededed;
        font-family: 'Open Sans', sans-serif;
        font-weight: 400;
      }
      p, ul {
        font-size: 12px;
      }
      a {
        color: #4388db;
        text-decoration: none;
      }
      a:hover {
        text-decoration: underline;
      } 
      h2 {
        font-style: normal;
        font-variant: normal;
        font-weight: 300;
        line-height: 23px;
        margin: 20px 0 10px 0;
      }
      #container {
        width: 768px;
        background: #fff;
        margin: 0px auto;
        -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.25);
        -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.25);
        box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.25);
      }
      #title {
        height: 200px;
        background: #fbe93a;
      }
      #title h1 {
        background-image: url();
        background-repeat: no-repeat;
        background-position: center 68px;
        height:145px;
      }
      #title h1 span {
        display: none;
      }
      #title .version {
        text-align: center;
      }
      #title .links {
        text-align: right;
        padding-right: 15px;
        height: 30px;
        line-height: 30px;
      }
      #title .links a {
        color: #1c1c1d;
      }
      #title .links a:hover {
        color: #000
      }
      #subtitle {
        background: #1c1c1c;
        color: #fff;
        text-align: center;
        padding: 10px;
      }
      #subtitle p {
        font-size: 16px;
        font-style: normal;
        font-variant: normal;
        font-weight: 300;
        line-height: 23px;
      }
      #content {
        padding: 25px;
      }
      #tabs {
        font-size: 11px;
        text-transform: uppercase;
        border-bottom: 1px solid #ddd;
      }
      #tabs span {
        display: inline-block;
        height: 25px;
        line-height: 25px;
        padding: 0px 15px;
        cursor: pointer;
        color: #aaa;
      }
      #tabs span:hover {
        color: #4388db;
        text-decoration: underline;
      }
      #tabs span.active {
        color: #000;
        background: #fff;
        position: relative;
        top: 1px;
        border: 1px solid #ddd;
        border-bottom-width: 0;
        text-decoration: none;
      }
      #content p {
        margin-bottom: 15px;
      }
      #content li {
        line-height: 25px;
      }
      #content p.terminal {
        background: #ebebeb;
        padding: 15px;
        font-family: monospace;
        line-height: 15px;
      }
      #content p.terminal em {
        color: green;
      }
      #downloads {
        text-align: center;
        margin-top: 20px;
      }
      a.download-button {
        display: inline-block;
        background-color: #1c1c1c;
        background-image: url();
        background-repeat: no-repeat;
        background-position: 15px center;
        color: #fff;
        text-transform: uppercase;
        font-size: 11px;
        height: 50px;
        line-height: 50px;
        padding: 0 20px 0 45px;
      }
      a.download-button:hover {
        text-decoration: none;
        background-color: #555;
      }
      a.documentation-button {
        display: inline-block;
        background-color: #1c1c1c;
        background-image: url();
        background-repeat: no-repeat;
        background-position: 15px center;
        color: #fff;
        text-transform: uppercase;
        font-size: 11px;
        height: 50px;
        line-height: 50px;
        padding: 0 20px 0 50px;
      }
      a.documentation-button:hover {
        text-decoration: none;
        background-color: #555;
      }
      #documentation {
        border-top: 1px solid #ddd;
      }
      #get-started {
        margin-top: 15px;
        border-top: 1px solid #ddd;
      }

    </style>
    <script>
      //
      // Google Analytics
      //
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-29263631-3');
      ga('send', 'pageview', { 'title': 'H2O Downloads for SUBST_PROJECT_VERSION' });
      <!-- GA sending events -->
      function trackLink(id, category, action) {
        var link = document.getElementById(id);
        link.onclick = function() {
          ga('send', 'event', category, action, 'SUBST_PROJECT_VERSION');
          setTimeout(function() { location.href = link.href; }, 300);
          return false;
        };
      }
      function initializeTabs() {
        var zipTab = document.getElementById('quickstart-zip-tab');
        var zipPanel = document.getElementById('quickstart-zip');
        var rTab = document.getElementById('quickstart-r-tab');
        var rPanel = document.getElementById('quickstart-r');
        var hadoopTab = document.getElementById('quickstart-hadoop-tab');
        var hadoopPanel = document.getElementById('quickstart-hadoop');
        var showZipTab = function() {
          zipPanel.style.display = 'block';
          zipTab.className = 'active';
          rPanel.style.display = 'none';
          rTab.className = '';
          hadoopPanel.style.display = 'none';
          hadoopTab.className = '';
        };
        var showRTab = function() {
          rPanel.style.display = 'block';
          rTab.className = 'active';
          zipPanel.style.display = 'none';
          zipTab.className = '';
          hadoopPanel.style.display = 'none';
          hadoopTab.className = '';
        };
        var showHadoopTab = function(){
          hadoopPanel.style.display = 'block';
          hadoopTab.className = 'active';
          rPanel.style.display = 'none';
          rTab.className = '';
          zipPanel.style.display = 'none';
          zipTab.className = '';
        };
        zipTab.onclick = showZipTab
        rTab.onclick = showRTab
        hadoopTab.onclick = showHadoopTab
        var hash = window.location.hash;
        if(hash && hash.indexOf('#R') == 0) {
          showRTab();
        }
      }
      <!-- DOM 0 style without jquery -->
      window.onload = function() {
        trackLink('dzip', 'Download', 'ZIP');
        trackLink('ddocall', 'Documentation', 'All');
        trackLink('ddocr', 'Documentation', 'R');
        trackLink('ddocjavadoc', 'Documentation', 'Javadoc');
        
        initializeTabs();
       }
    </script>
  </head>
  <body>
    <!--[if lt IE 8]>
      <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->
    <div id="container">
      <div id="title">
        <p class="links">
          <a href="http://h2o.ai">H<sub>2</sub>O.ai</a> | <a href="https://github.com/0xdata/h2o">Github</a>
        </p>
        <h1><span>H<sub>2</sub>O</span></h1>
        <p class="version">Version SUBST_PROJECT_VERSION</p>
      </div>
      <div id="subtitle">
        <p>The Open Source In-Memory<br/>Prediction Engine for Big Data Science</p>
      </div>
      <div id="content">
        <div id="tabs">
          &nbsp; <span id="quickstart-zip-tab" class="active">Download and Run</span>
          <span id="quickstart-r-tab">Install in R</span>
          <span id = "quickstart-hadoop-tab">Install on Hadoop</span>
        </div>
        <div id="panels">
          <div id="quickstart-zip">
            <div id="downloads">
              <a id="dzip" class="download-button" href="h2o-SUBST_PROJECT_VERSION.zip">Download H<sub>2</sub>O</a>
            </div>
            <div id="license">
              <h2>License</h2>
              <ul>
                <li>Everything in this version of H<sub>2</sub>O (including H<sub>2</sub>O for R and Hadoop) is licensed under the <a id="license-h2o" href="http://www.apache.org/licenses/LICENSE-2.0">Apache V2 License</a>.</li>
                <li>Generated Java scoring POJOs are also licensed under the <a id="license-scoring" href="http://www.apache.org/licenses/LICENSE-2.0">Apache V2 License</a> (since the Mirzakhani release).</li>
              </ul>
            </div>
            <div id="get-started">
              <h2>Get started with H<sub>2</sub>O in 3 easy steps</h2>
              <p>1. Download H<sub>2</sub>O. This is a zip file that contains everything you need to get started.</p>
              <p>2. From your terminal, run:</p>
              <p class="terminal">
                cd ~/Downloads<br/>
                unzip h2o-SUBST_PROJECT_VERSION.zip<br/>
                cd h2o-SUBST_PROJECT_VERSION<br/>
                java -jar h2o.jar<br/>
              </p>
              <p>3. Point your browser to <a href="http://localhost:54321/" target="_blank">http://localhost:54321</a>
            </div>
          </div>
          <div id="quickstart-r" style="display:none">
            <h2>Use H<sub>2</sub>O directly from R</h2>
            <p>Copy and paste these commands into R one line at a time:
            <p class="terminal">
              <em># The following two commands remove any previously installed H<sub>2</sub>O packages for R.</em><br/>
              if ("package:h2o" %in% search()) { detach("package:h2o", unload=TRUE) }<br/>
              if ("h2o" %in% rownames(installed.packages())) { remove.packages("h2o") }<br/><br/>
              <em># Next, we download, install and initialize the H<sub>2</sub>O package for R.</em><br/>
              install.packages("h2o", repos=(c("<script type="text/javascript">var url = location.href; var url2 = url.substring(0, url.lastIndexOf("/")); document.write(url2);</script>/R", getOption("repos"))))<br/>
              library(h2o)<br/>
              localH2O = h2o.init(nthreads = -1)<br/><br/> 
              <em># Finally, let's run a demo to see H<sub>2</sub>O at work.</em><br/>
              demo(h2o.glm)
          </div>
          <div id="quickstart-hadoop" style="display:none">
            <div id="downloads">
                <a id="dzip" class="documentation-button" href="docs-website/deployment/hadoop.html">  Documentation</a>
            </div>
            <h2>Run H<sub>2</sub>O on Hadoop in just 3 steps.</h2>
            <p>1. Download H<sub>2</sub>O. This is a zip file that contains everything you need to get started.</p>
            <p class="terminal">
                wget <script type="text/javascript">var url = location.href; var url2 = url.substring(0, url.lastIndexOf("/")); document.write(url2);</script>/h2o-SUBST_PROJECT_VERSION.zip
            </p>
            <p>2. Unpack the zip file and launch a 1g instance of H<sub>2</sub>O: </p>
            <p class="terminal">
                unzip h2o-SUBST_PROJECT_VERSION.zip<br/>
                cd h2o-SUBST_PROJECT_VERSION/hadoop<br/>
                <br/>
                # Example for HDP 2.x users<br/>
                hadoop jar h2odriver_hdp2.1.jar water.hadoop.h2odriver -libjars ../h2o.jar -mapperXmx 1g -nodes 1 -output hdfsOutputDirName<br/>
                <br/>
                # Example for CDH 5.x users<br/>
                hadoop jar h2odriver_cdh5.jar water.hadoop.h2odriver -libjars ../h2o.jar -mapperXmx 1g -nodes 1 -output hdfsOutputDirName<br/>
                <br/>
                # Example for MapR 4.x users<br/>
                hadoop jar h2odriver_mapr4.0.1.jar water.hadoop.h2odriver -libjars ../h2o.jar -mapperXmx 1g -nodes 1 -output hdfsOutputDirName<br/>
                <br/>
            </p>
            <p>3. Point your browser to any of the H2O nodes launched. The IP addresses of the nodes will be available in the output:</p>
            <p class="terminal">
                Determining driver host interface for mapper->driver callback...<br/>
                [Possible callback IP address: 172.16.2.181]<br/>
                [Possible callback IP address: 127.0.0.1]<br/>
                ...<br/>
                Waiting for H2O cluster to come up...<br/>
                H2O node 172.16.2.184:54321 requested flatfile<br/>
                Sending flatfiles to nodes...<br/>
                &nbsp;[Sending flatfile to node 172.16.2.184:54321]<br/>
                <em>H2O node 172.16.2.184:54321 reports H2O cluster size 1 </em><br/>
                H2O cluster (1 nodes) is up<br/>
                Blocking until the H2O cluster shuts down...<br/>

            </p>
          </div>
        </div>
        <div id="documentation">
          <h2>Documentation</h2>
          <ul>
            <li><a id="ddocrecent" href="https://github.com/h2oai/h2o/blob/master/CHANGES.md">Recent Changes</a></li>
            <li><a id="ddocall" href="docs-website/index.html">Full Documentation</a></li>
            <li><a id="ddochadoop" href="docs-website/deployment/hadoop_tutorial.html">Hadoop Documentation</a></li>
	    <li><a id="ddocr" href="docs-website/bits/h2o_package.pdf">R User Documentation</a></li>
            <li><a id="ddocjavadoc" href="javadoc/index.html">Java Developer Documentation (Javadoc)</a></li>
            <li><a id="ddocrest" href="#"></a>REST API Documentation (Coming soon)</li>
          </ul>
        </div>
      </div>
    </div>
  </body>
</html>
